[INFO] cloning repository https://github.com/neivv/mtl
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neivv/mtl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneivv%2Fmtl", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneivv%2Fmtl'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 71eccafcfedddf334873e7187836d397ea7292f3
[INFO] building neivv/mtl against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneivv%2Fmtl" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/neivv/mtl on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-1/source/.cargo/config
[INFO] started tweaking git repo https://github.com/neivv/mtl
[INFO] finished tweaking git repo https://github.com/neivv/mtl
[INFO] tweaked toml for git repo https://github.com/neivv/mtl written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/neivv/mtl already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded implode v0.1.1
[INFO] [stderr]   Downloaded lde v0.3.0
[INFO] [stderr]   Downloaded mpq v0.7.0
[INFO] [stderr]   Downloaded pcx v0.2.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 55b40b71d223ca8576a2d7b366baeeeb1e140df6bc8ff33cbad1b60c3c877d06
[INFO] running `Command { std: "docker" "start" "-a" "55b40b71d223ca8576a2d7b366baeeeb1e140df6bc8ff33cbad1b60c3c877d06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55b40b71d223ca8576a2d7b366baeeeb1e140df6bc8ff33cbad1b60c3c877d06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55b40b71d223ca8576a2d7b366baeeeb1e140df6bc8ff33cbad1b60c3c877d06", kill_on_drop: false }`
[INFO] [stdout] 55b40b71d223ca8576a2d7b366baeeeb1e140df6bc8ff33cbad1b60c3c877d06
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ddbb410d1da4c0bf4a27c391286ed50b6cf056046ce19bbf3dd180e2c06ede5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0ddbb410d1da4c0bf4a27c391286ed50b6cf056046ce19bbf3dd180e2c06ede5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.90
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling serde_derive v1.0.124
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling serde v1.0.124
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling quick-error v2.0.0
[INFO] [stderr]    Compiling lde v0.3.0
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling anyhow v1.0.39
[INFO] [stderr]    Compiling implode v0.1.1
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling pcx v0.2.3
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling fern v0.6.0
[INFO] [stderr]    Compiling whack v0.2.0 (https://github.com/neivv/whack/?rev=118ab14a36312728949bf7c286b30dde473df8c7#118ab14a)
[INFO] [stderr]    Compiling mtl v0.3.40 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `win_common`, `platform::Location`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub use platform::Location as Arg;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/x86_64.rs:12:9
[INFO] [stdout]     |
[INFO] [stdout] 12  | pub use win_common::*;
[INFO] [stdout]     |         ^^^^^^^^^^ maybe a missing crate `win_common`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> build.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::d3dcompiler::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> build.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::d3dcommon::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> build.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::winnt::HRESULT;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> build.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::winerror::{E_FAIL, S_OK};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ExecutableHeap` in `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:435:34
[INFO] [stdout]     |
[INFO] [stdout] 435 |             exec_heap: platform::ExecutableHeap::new(),
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ could not find `ExecutableHeap` in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `MemoryProtection` in `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:448:38
[INFO] [stdout]     |
[INFO] [stdout] 448 |             .map(|handles| platform::MemoryProtection::new(handles.write));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ could not find `MemoryProtection` in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `MemoryProtection` in `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:475:38
[INFO] [stdout]     |
[INFO] [stdout] 475 |             .map(|handles| platform::MemoryProtection::new(handles.write));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^ could not find `MemoryProtection` in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `MemoryProtection` in `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:655:44
[INFO] [stdout]     |
[INFO] [stdout] 655 |                 let protection = platform::MemoryProtection::new(handle);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^ could not find `MemoryProtection` in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ExecutableHeap` in module `platform`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/macros.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |         exec_heap: &mut ::platform::ExecutableHeap,
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ExecutableHeap` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/macros.rs:455:26
[INFO] [stdout]     |
[INFO] [stdout] 455 |     heap: &mut platform::ExecutableHeap,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ExecutableHeap` in this scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/x86_64.rs:406:45
[INFO] [stdout]     |
[INFO] [stdout] 406 |     pub fn write(&mut self, exec_heap: &mut ExecutableHeap) -> *const u8 {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ExecutableHeap` in this scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/x86_64.rs:441:20
[INFO] [stdout]     |
[INFO] [stdout] 441 |         heap: &mut ExecutableHeap,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ExecutableHeap` in module `platform`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:34:47
[INFO] [stdout]    |
[INFO] [stdout] 34 | type InitFn = unsafe fn(usize, &mut platform::ExecutableHeap);
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibraryName` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:110:27
[INFO] [stdout]     |
[INFO] [stdout] 110 |     Library(Arc<platform::LibraryName>),
[INFO] [stdout]     |                           ^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `exe_handle` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:120:74
[INFO] [stdout]     |
[INFO] [stdout] 120 |         ImageBase::Executable => Some(PatchEnableHandles::same(platform::exe_handle())),
[INFO] [stdout]     |                                                                          ^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `library_name_to_handle` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:122:23
[INFO] [stdout]     |
[INFO] [stdout] 122 |             platform::library_name_to_handle(s).map(|x| PatchEnableHandles::same(x))
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibraryHandle` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:125:37
[INFO] [stdout]     |
[INFO] [stdout] 125 |             exec: exec as platform::LibraryHandle,
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibraryHandle` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:126:39
[INFO] [stdout]     |
[INFO] [stdout] 126 |             write: write as platform::LibraryHandle,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibraryHandle` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 133 |     exec: platform::LibraryHandle,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibraryHandle` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:134:22
[INFO] [stdout]     |
[INFO] [stdout] 134 |     write: platform::LibraryHandle,
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibraryHandle` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:138:31
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn same(handle: platform::LibraryHandle) -> PatchEnableHandles {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ExecutableHeap` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:215:30
[INFO] [stdout]     |
[INFO] [stdout] 215 |         heap: &mut platform::ExecutableHeap
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibraryHandle` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:238:59
[INFO] [stdout]     |
[INFO] [stdout] 238 |     unsafe fn disable(&mut self, handle: Option<platform::LibraryHandle>) {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `import_addr` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:262:46
[INFO] [stdout]     |
[INFO] [stdout] 262 |                         let addr = platform::import_addr(handle, &hook.library, &hook.export);
[INFO] [stdout]     |                                              ^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ExecutableHeap` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:279:30
[INFO] [stdout]     |
[INFO] [stdout] 279 |         heap: &mut platform::ExecutableHeap,
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ExecutableHeap` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:313:30
[INFO] [stdout]     |
[INFO] [stdout] 313 |         heap: &mut platform::ExecutableHeap,
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ExecutableHeap` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:369:30
[INFO] [stdout]     |
[INFO] [stdout] 369 |         heap: &mut platform::ExecutableHeap,
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `import_addr` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:371:30
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let addr = platform::import_addr(handles.write, &self.library, &self.export);
[INFO] [stdout]     |                              ^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ExecutableHeap` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:395:26
[INFO] [stdout]     |
[INFO] [stdout] 395 |     exec_heap: platform::ExecutableHeap,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MemoryProtection` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:426:34
[INFO] [stdout]     |
[INFO] [stdout] 426 |     protection: Option<platform::MemoryProtection>,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `library_name` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:472:64
[INFO] [stdout]     |
[INFO] [stdout] 472 |         let image_base = ImageBase::Library(Arc::new(platform::library_name(library)));
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibraryHandle` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:644:48
[INFO] [stdout]     |
[INFO] [stdout] 644 |         protections: &mut SmallVec<[(platform::LibraryHandle, platform::MemoryProtection); 16]>,
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MemoryProtection` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:644:73
[INFO] [stdout]     |
[INFO] [stdout] 644 |         protections: &mut SmallVec<[(platform::LibraryHandle, platform::MemoryProtection); 16]>,
[INFO] [stdout]     |                                                                         ^^^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LibraryHandle` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:649:27
[INFO] [stdout]     |
[INFO] [stdout] 649 |                 platform::LibraryHandle,
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MemoryProtection` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:650:27
[INFO] [stdout]     |
[INFO] [stdout] 650 |                 platform::MemoryProtection,
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `nop` in module `platform`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:867:57
[INFO] [stdout]     |
[INFO] [stdout] 867 |         let nops: SmallVec<[u8; 16]> = repeat(platform::nop()).take(length).collect();
[INFO] [stdout]     |                                                         ^^^ not found in `platform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]    --> build.rs:208:38
[INFO] [stdout]     |
[INFO] [stdout] 208 |         _parent_data: *const winapi::ctypes::c_void,
[INFO] [stdout]     |                                      ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]    --> build.rs:209:39
[INFO] [stdout]     |
[INFO] [stdout] 209 |         out_data: *mut *const winapi::ctypes::c_void,
[INFO] [stdout]     |                                       ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi`
[INFO] [stdout]    --> build.rs:240:30
[INFO] [stdout]     |
[INFO] [stdout] 240 |         data: *const winapi::ctypes::c_void,
[INFO] [stdout]     |                              ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D_SHADER_MACRO` in this scope
[INFO] [stdout]   --> build.rs:91:26
[INFO] [stdout]    |
[INFO] [stdout] 91 |             defines.push(D3D_SHADER_MACRO {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D_SHADER_MACRO` in this scope
[INFO] [stdout]   --> build.rs:98:22
[INFO] [stdout]    |
[INFO] [stdout] 98 |         defines.push(D3D_SHADER_MACRO {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompile2` in this scope
[INFO] [stdout]    --> build.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let error = D3DCompile2(
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope
[INFO] [stdout]    --> build.rs:114:31
[INFO] [stdout]     |
[INFO] [stdout] 114 |             include.0 as *mut ID3DInclude,
[INFO] [stdout]     |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_OPTIMIZATION_LEVEL3` in this scope
[INFO] [stdout]    --> build.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             D3DCOMPILE_OPTIMIZATION_LEVEL3 | D3DCOMPILE_WARNINGS_ARE_ERRORS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_WARNINGS_ARE_ERRORS` in this scope
[INFO] [stdout]    --> build.rs:117:46
[INFO] [stdout]     |
[INFO] [stdout] 117 |             D3DCOMPILE_OPTIMIZATION_LEVEL3 | D3DCOMPILE_WARNINGS_ARE_ERRORS,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DDisassemble` in this scope
[INFO] [stdout]    --> build.rs:147:21
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let error = D3DDisassemble(
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D10Blob` in this scope
[INFO] [stdout]    --> build.rs:164:36
[INFO] [stdout]     |
[INFO] [stdout] 164 | unsafe fn blob_to_bytes(blob: *mut ID3D10Blob) -> Vec<u8> {
[INFO] [stdout]     |                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3DIncludeVtbl` in this scope
[INFO] [stdout]    --> build.rs:172:24
[INFO] [stdout]     |
[INFO] [stdout] 172 | static INCLUDE_VTABLE: ID3DIncludeVtbl = ID3DIncludeVtbl {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ID3DIncludeVtbl` in this scope
[INFO] [stdout]    --> build.rs:172:42
[INFO] [stdout]     |
[INFO] [stdout] 172 | static INCLUDE_VTABLE: ID3DIncludeVtbl = ID3DIncludeVtbl {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope
[INFO] [stdout]    --> build.rs:179:16
[INFO] [stdout]     |
[INFO] [stdout] 179 |     interface: ID3DInclude,
[INFO] [stdout]     |                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ID3DInclude` in this scope
[INFO] [stdout]    --> build.rs:195:24
[INFO] [stdout]     |
[INFO] [stdout] 195 |             interface: ID3DInclude {
[INFO] [stdout]     |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope
[INFO] [stdout]    --> build.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 |         s: *mut ID3DInclude,
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D_INCLUDE_TYPE` in this scope
[INFO] [stdout]    --> build.rs:206:24
[INFO] [stdout]     |
[INFO] [stdout] 206 |         _include_type: D3D_INCLUDE_TYPE,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stdout]    --> build.rs:211:10
[INFO] [stdout]     |
[INFO] [stdout] 211 |     ) -> HRESULT {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `E_FAIL` in this scope
[INFO] [stdout]    --> build.rs:219:30
[INFO] [stdout]     |
[INFO] [stdout] 219 |             Err(_) => return E_FAIL,
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `E_FAIL` in this scope
[INFO] [stdout]    --> build.rs:227:24
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 return E_FAIL;
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stdout]    --> build.rs:235:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |         S_OK
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3DInclude` in this scope
[INFO] [stdout]    --> build.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         s: *mut ID3DInclude,
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope
[INFO] [stdout]    --> build.rs:241:10
[INFO] [stdout]     |
[INFO] [stdout] 241 |     ) -> HRESULT {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `E_FAIL` in this scope
[INFO] [stdout]    --> build.rs:245:28
[INFO] [stdout]     |
[INFO] [stdout] 245 |             None => return E_FAIL,
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `S_OK` in this scope
[INFO] [stdout]    --> build.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 |         S_OK
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/whack-747fafa4bbcff5a8/118ab14/src/lib.rs:509:23
[INFO] [stdout]     |
[INFO] [stdout] 509 |             init_fns: Vec::new(),
[INFO] [stdout]     |                       ^^^^^^^^ cannot infer type for type parameter `T`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0699]: the type of this value must be known to call a method on a raw pointer on it
[INFO] [stdout]    --> build.rs:126:22
[INFO] [stdout]     |
[INFO] [stdout] 126 |             if !code.is_null() {
[INFO] [stdout]     |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0699]: the type of this value must be known to call a method on a raw pointer on it
[INFO] [stdout]    --> build.rs:129:24
[INFO] [stdout]     |
[INFO] [stdout] 129 |             if !errors.is_null() {
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 31 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0699.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mtl`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 34 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "0ddbb410d1da4c0bf4a27c391286ed50b6cf056046ce19bbf3dd180e2c06ede5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ddbb410d1da4c0bf4a27c391286ed50b6cf056046ce19bbf3dd180e2c06ede5", kill_on_drop: false }`
[INFO] [stdout] 0ddbb410d1da4c0bf4a27c391286ed50b6cf056046ce19bbf3dd180e2c06ede5
